cmake_minimum_required(VERSION 3.5)
project(tool)

set(CMAKE_CXX_STANDARD 14)

SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
find_package(OpenCV REQUIRED)

add_executable(tool
        src.cpp
        capset/myVideoCap.h
        capset/myVideoCap.cpp
        capset/v4l2uvc.h
        capset/v4l2uvc.c)
target_link_libraries(tool
        ${OpenCV_LIBS})
